export interface systemUserListInterface {
  pageNum: string; //页数
  pageSize: string;  //每页显示条数
  userName: string; //用户名称
  phonenumber: string; //手机号
  status: string; //状态 0=正常,1=停用
}

// 新增用户
export interface systemUserAddInterface {
  nickName: string; //用户昵称
  phonenumber?: string; //手机号码
  email?: string; //邮箱
  userName: string; //用户名称
  password: string; //用户密码
  sex: string; //性别 0男1女2未知
  status: string; //状态 0=正常,1=停用
  roleIds: number[]; //角色数组
  remark: string; //备注
}

//修改用户
export interface systemUserUpdateInterface extends systemUserAddInterface {
  userId: number;
}

//修改启用状态
export interface systemUserChangeStatusInterface {
  userId: number;
  status: string; //状态 0=正常,1=停用
}

//修改密码
export interface systemUserResetPwdInterface {
  userId: number;
  password: string; //密码
}